package com.xxx.design.tutorials702.util;

import java.util.Map;

/**
 * @author Hang
 * @date 2022/7/30
 * @project studydesignpatter
 * @description
 **/
public class Topic {
    private Map<String,String> option; // 选项内容 A、B、C、D
    private String key; // 答案

    public Topic() {
    }

    public Topic(Map<String,String> option,String key){
        this.option = option;
        this.key = key;
    }

    public Map<String, String> getOption() {
        return option;
    }

    public void setOption(Map<String, String> option) {
        this.option = option;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
